1 <!-- code lấy user -->
2 <?

3 if
(!session_id()) session_start();
4
5 if
(!isset($_SESSION["session_message"])){
6 // session_register(
"session_message");
7     $_SESSION[
"session_message"] = "";
8 }

9
10 if
(isset($_GET['page']))
11 $page = $_GET[
'page'];
12 if
($_REQUEST['act']=='logout_nhanvien') $_SESSION['nhanvien'] = $log;
13 if
($_SESSION['nhanvien']=='')
14 {
15 header(
"Location: login");
16 }
17
18 ?>
19
20 <!-- kết thúc code lấy user -->
21
22 <!-- code lấy dữ liệu -->
23
24
25 <?
26
27 require(
"../system/model/config.php");
28 require(
"../system/model/common_start.php");
29 require(
"../system/model/function.php");
30 include(
"../system/inc/function.php");
31 include(
"box/admin_func.php");
32 include(
"visitor.php");
33
34 ?>
35
36 <!-- kết thúc code lấy dữ liệu -->
37
38 <!-- code induc-->
39 <? include (
"../news/news_func.php"); ?>
40 <?php
41 $sql_user_mem=mysql_query(
"SELECT * FROM user_nhanvien where user='".$_SESSION['nhanvien']."' ");
42 $row_user_mem=mysql_fetch_assoc($sql_user_mem);?>
43 <?
44 $sql_config=mysql_query(
"SELECT * FROM config_mem where user='".$_SESSION['nhanvien']."' ");
45 $row_config=mysql_fetch_assoc($sql_config);
46 $sql_menu_left=mysql_query(
"SELECT * FROM menu_left where user='".$_SESSION['nhanvien']."' ");
47 $row_menu_left=mysql_fetch_assoc($sql_menu_left);
48 $sql_popup=mysql_query(
"SELECT * FROM popup where user='".$_SESSION['nhanvien']."' ");
49 $row_popup=mysql_fetch_assoc($sql_popup);
50 ?>
51  
52
53 <!-- kết thúc code induc -->
54
55
56
57
58
59
60
61
62
63
64
65 <!DOCTYPE html>
66 <?
if($row_user_mem['level']=='0'){?>
67 <html>
68 <head>
69   <meta charset=
"utf-8">
70   <meta http-equiv=
"X-UA-Compatible" content="IE=edge">
71   <title><? echo $row_user_mem[
'company'];?></title>
72   <!-- Tell the browser to be responsive to screen width -->
73   <meta content=
"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
74   <!-- chuyển biến code -->
75   <?php
if($row_user_mem['domain']=='')
76     {?>
77 <
base href="https://www.sendo.vn/nhanvien/" />
78 <?}
79 elseif($_SERVER[
"SERVER_NAME"]=='shopcantho.vn')
80         {?>
81 <
base href="https://www.sendo/nhanvien/" />
82 <?}
else{?>
83 <
base href="https://www.<? echo $row_user_mem['domain'];?>/nhanvien/" />
84 <?}?>
85 <!-- kết thúc chuyển biến code-->
86 <script type=
"text/javascript" language="javascript" src="js/jquery.dropdownPlain.js"></script>
87     <script type=
"text/javascript" src="JS/jquery.min.js"></script>
88 <!-- code conet-->
89 <script type=
"text/javascript" src="/filemanage/ckfinder/ckfinder.js"></script>
90     <script type=
"text/javascript" >
91     
92     
93     function BrowseServer()
94 {
95     
// You can use the "CKFinder" class to render CKFinder in a page:
96     
var finder = new CKFinder();
97     finder.basePath =
'../'; // The path for the installation of CKFinder (default = "/ckfinder/").
98     finder.selectActionFunction = SetFileField;
99     finder.popup();
100
101     
// It can also be done in a single line, calling the "static"
102     
// popup( basePath, width, height, selectFunction ) function:
103     
// CKFinder.popup( '../', null, null, SetFileField ) ;
104     
//
105     
// The "popup" function can also accept an object as the only argument.
106     
// CKFinder.popup( { basePath : '../', selectActionFunction : SetFileField } ) ;
107 }

108
109 // This
is a sample function which is called when a file is selected in CKFinder.
110 function SetFileField( fileUrl )
111 {
112     document.getElementById(
'imagefield1' ).value = fileUrl;
113 }
114     
115     
116     </script>
117
118
119
120     
121 <script type=
"text/javascript">
122         $(document).ready(function() {
123             
/*
124             * Examples - images
125             */

126
127              
128             
129             $(
"#quanlyfile").fancybox({
130                 
'width' : '70%',
131                 
'height' : '70%',
132                 
'autoScale' : false,
133                 
'transitionIn' : 'none',
134                 
'transitionOut' : 'none',
135                 
'type' : 'iframe'
136             });
137             $(
"#xemdonhang").fancybox({
138                 
'width' : '70%',
139                 
'height' : '70%',
140                 
'autoScale' : false,
141                 
'transitionIn' : 'none',
142                 
'transitionOut' : 'none',
143                 
'type' : 'iframe'
144             });
145             
146             $(
"#doimatkhau").fancybox({
147                 
'width' : '40%',
148                 
'height' : '50%',
149                 
'autoScale' : false,
150                 
'transitionIn' : 'none',
151                 
'transitionOut' : 'none',
152                 
'type' : 'iframe'
153             });
154              $(
"#dangkydichvu").fancybox({
155                 
'width' : '40%',
156                 
'height' : '50%',
157                 
'autoScale' : false,
158                 
'transitionIn' : 'none',
159                 
'transitionOut' : 'none',
160                 
'type' : 'iframe'
161             });
162             $(
"#danhmuc").fancybox({
163                 
'width' : '40%',
164                 
'height' : '50%',
165                 
'autoScale' : false,
166                 
'transitionIn' : 'none',
167                 
'transitionOut' : 'none',
168                 
'type' : 'iframe'
169             });
170             $(
"#dangkyquangcao").fancybox({
171                 
'width' : '60%',
172                 
'height' : '50%',
173                 
'autoScale' : false,
174                 
'transitionIn' : 'none',
175                 
'transitionOut' : 'none',
176                 
'type' : 'iframe'
177             });
178
179                 $(
"#xembanner").fancybox({
180
181                 
'autoScale' : false,
182                 
'transitionIn' : 'none',
183                 
'transitionOut' : 'none',
184                 
'type' : 'iframe'
185             });
186             
187                 $(
"#xemnhanhsp").fancybox({
188
189                 
'width' : '1100px',
190                 
'height' : '1100px',
191                 
'autoScale' : true,
192                 
'transitionIn' : '11',
193                 
'transitionOut' : 'none',
194                 
'type' : 'iframe'
195             });
196             $(
"#various4").fancybox({
197                 
'padding' : 0,
198                 
'autoScale' : false,
199                 
'transitionIn' : 'none',
200                 
'transitionOut' : 'none'
201             });
202         });
203     </script>
204
205
206
207
208   
209
210 <script src=
"ckeditor/ckeditor.js"></script>
211 <!-- manager files -->
212 <script type=
"text/javascript" src="/filemanage/ckfinder/ckfinder.js"></script>
213 <script type=
"text/javascript">
214
215 function BrowseServer()
216 {

217 // You can use the
"CKFinder" class to render CKFinder in a page:
218 var
finder = new CKFinder();
219 finder.basePath =
'ckeditor/'; // The path for the installation of CKFinder (default = "/ckfinder/").
220 finder.selectActionFunction = SetFileField;
221 finder.popup();
222
223 }

224
225 // This
is a sample function which is called when a file is selected in CKFinder.
226 function SetFileField( fileUrl )
227 {
228 document.getElementById(
'xFilePath' ).value = fileUrl;
229 }
230
231 </script>
232 <!-- end manager filies -->
233
234
235  <link rel=
'stylesheet prefetch' href='css1/css.css'>
236
237
238
239   <!-- Bootstrap
3.3.6 -->
240   <link rel=
"stylesheet" href="bootstrap/css/bootstrap.min.css">
241   <!-- Font Awesome -->
242   <link rel=
"stylesheet" href="css/font-awesome.min.css">
243   <!-- Ionicons -->
244   <link rel=
"stylesheet" href="css/ionicons.min.css">
245   <!-- jvectormap -->
246   <link rel=
"stylesheet" href="plugins/jvectormap/jquery-jvectormap-1.2.2.css">
247     <!-- Bootstrap Color Picker -->
248   <link rel=
"stylesheet" href="plugins/colorpicker/bootstrap-colorpicker.min.css">
249    <!-- iCheck
for checkboxes and radio inputs -->
250   <link rel=
"stylesheet" href="plugins/iCheck/all.css">
251   <!-- Theme style -->
252   
253   <link rel=
"stylesheet" href="dist/css/AdminLTE.min.css">
254    <!-- daterange picker -->
255   <link rel=
"stylesheet" href="plugins/daterangepicker/daterangepicker.css">
256   <!-- bootstrap datepicker -->
257   <link rel=
"stylesheet" href="plugins/datepicker/datepicker3.css">
258   <!-- AdminLTE Skins. Choose a skin
from the css/skins
259   <!-- Select2 -->
260   <link rel=
"stylesheet" href="plugins/select2/select21.min.css">
261  
262   <link rel=
"stylesheet" href="dist/css/skins/_all-skins.min.css">
263   <!-- Pace style -->
264   <link rel=
"stylesheet" href="plugins/pace/pace.min.css">
265   <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
266   <!-- WARNING: Respond.js doesn
't work if you view the page via file:// -->
267   <!--[
if lt IE 9]>
268   <script src=
"https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
269   <script src=
"https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
270   <![endif]-->
271 </head>
272 <body
class="hold-transition skin-blue sidebar-mini" >
273
274
275
276
277
278 <div
class="wrapper">
279
280
281
282
283
284   
285 <!-- begin menu_trái-->
286 <div >
287 <? include(
"box/menu_top.php");?>
288 </div>
289 <!-- end menu_trái-->
290  
291   
292 <!-- begin menu_trái-->
293 <div >
294 <? include(
"box/menu_trai.php");?>
295 </div>
296 <!-- end menu_trái-->
297   <div
class="content-wrapper" style="min-height: 480px;" >
298
299 <!-- action cũng là khai báo thời hạn -->
300
301
302
303
304 <div id=
"content">
305
306
307 <?
if($_REQUEST['act']=='')
308 {?>
309 <?include(
"thongke.php");?>
310 <?}
else {?>
311 <? include(
"box/frame.php");?>
312 <?}?>
313
314 </div>
315
316 <!-- kết thúc action cũng là khai báo thời hạn -->
317
318 </div>
319
320   <footer
class="main-footer">
321  <div
class="policy-block" style=" text-align: center; padding: 10px 0; width: 92%; margin: 0 auto; ">
322                     <p
class="policy-info for-stm"><span class="title-stm">Chợ Trực tuyến chính thức của Công Ty TNHH MTV TM DV QUẢNG CÁO KEYMOU</span></p>
323                     <p
class="policy-info" style=" font-size: 12px; line-height: 20px; ">
324                         <span>Về chúng tôi: </span>
325                         <a rel=
"nofollow" target="_blank" href="https://www.sendo.vn/huong-dan/ve-sendo/">Giới thiệu ShopCanTho.vn</a> -
326                         <a rel=
"nofollow" target="_blank" href="https://www.sendo.vn/quy-che-hoat-dong/">Quy chế hoạt động</a> -
327                         <a rel=
"nofollow" target="_blank" href="https://www.sendo.vn/che-tai-vi-pham/">Các mức chế tài vi phạm</a> -
328                         <a rel=
"nofollow" target="_blank" href="https://www.sendo.vn/sitemap/">Sitemap</a>
329                     </p>
330                     <p
class="policy-info" style=" font-size: 12px; line-height: 20px; ">
331                         <span>Dành cho người mua: </span>
332                         <a rel=
"nofollow" target="_blank" href="https://www.sendo.vn/bao-ve-nguoi-mua/">Bảo vệ người mua</a> -
333                         <a rel=
"nofollow" target="_blank" href="https://www.sendo.vn/quy-dinh-nguoi-mua/">Quy định đối với người mua </a> -
334                         <a rel=
"nofollow" target="_blank" href="https://www.sendo.vn/quy-dinh-nguoi-mua#gqkn"> Giải quyết khiếu nại </a> -
335                         <a rel=
"nofollow" target="_blank" href="https://www.sendo.vn/huong-dan/huong-dan-mua-hang/">Hướng dẫn người mua</a>
336         
337                     </p>
338                     <p
class="policy-info" style=" font-size: 12px; line-height: 20px; ">
339                         <span>Dành cho người bán: </span>
340                         <a rel=
"nofollow" target="_blank" href="https://ban.sendo.vn/">Mở shop trên ShopCanTho.vn</a> -
341                         <a rel=
"nofollow" target="_blank" href="https://www.sendo.vn/quy-dinh-nguoi-ban/">Quy định đối với người bán </a> -
342                         <a rel=
"nofollow" target="_blank" href="https://www.sendo.vn/chinh-sach-ban-hang/">Chính sách bán hàng</a> -
343                         <a rel=
"nofollow" target="_blank" href="https://www.sendo.vn/quy-dinh-nguoi-ban/#tckd"> Hệ thống tiêu chí kiểm duyệt</a>
344                     </p>
345                     <p
class="policy-info m-t-10" style=" font-size: 12px; line-height: 20px; ">
346                         <span>Liên kết: </span>
347                          
348                        
349                         <a target=
"_blank" href="https://www.facebook.com/muasamsendo/" class="myfacebook icn"><i class="fa fa-facebook-square"></i></a>
350                         <a target=
"_blank" href="https://twitter.com/Sendovn/" class="mytwitter icn"><i class="fa fa-twitter-square"></i></a>
351                         <a target=
"_blank" href="https://plus.google.com/+SendoVnOfficial/" class="mygoogle icn"><i class="fa fa-google-plus-square"></i></a>
352                         <a target=
"_blank" href="https://www.youtube.com/user/sendovn/" class="youtube icn"><i class="fa fa-youtube-play"></i></a>
353                         <a target=
"_blank" href="http://www.pinterest.com/sendofpt/" class="pinterest icn"><i class="fa fa-pinterest-square"></i></a>
354                         <a target=
"_blank" href="https://sendo.vn/adr" title="Sendo App Android" class="adriod">&nbsp;</a>
355                         <a target=
"_blank" href="https://sendo.vn/ios" title="Sendo App IOS" class="apple">&nbsp;</a>
356           
357                     </p>
358                     
359                 </div>
360 <div
class="my-address" style=" margin: 0 auto; overflow: hidden; ">
361                     <div
class="address" style=" overflow: hidden; float: left; ">
362                         <img itemprop=
"logo" alt="TẠO GIAN HÀNG MIỄN PHÍ | Gian hàng trực tuyến, Tạo gian hàng miễn phí, website bán hàng hiệu quả | Web miễn phí " src="/images/banner/logo_home.png" width="189px">
363                         <p style=
"
364     line-height: 17px;
365     font-size: 11px;
366 "
> <span>Copyright © 2014 ShopCanTho.Vn</span><br>
367                             <b>CÔNG TY TNHH MTV TM DV QUẢNG CÁO KEYMOU </b><br>
368                             Địa chỉ:
183 Võ Văn Kiệt, Quận Ninh Kiều, TP.Cần Thơ<br>
369                            
370                             Số ĐKKD:
1801406109
371                          </p>
372                     </div>
373                     <div
class="other-info" style=" float: right; ">
374                         <a target=
"_blank" href="http://www.online.gov.vn/CustomWebsiteDisplay.aspx?DocId=17011"><img title="ShopCanTho.Vn đã đăng ký với Bộ Công Thương" alt="ShopCanTho.Vn đã đăng ký với Bộ Công Thương" src="/temp/icon_bocongthuong.png"></a>
375                         <img title=
"Đối tác vận chuyển VNPOST của ShopCanTho.Vn" alt="Đối tác vận chuyển VNPOST của ShopCanTho.Vn" src="/images/logo_vnpost6458e.png">
376                         <img title=
"Đối tác vận chuyển Viettel của ShopCanTho.Vn" alt="Đối tác vận chuyển Viettel của ShopCanTho.Vn" src="/images/partner_viettelpost.png" width="150px">
377                         <img title=
"Đối tác vận chuyển Giaohangnhanh của ShopCanTho.Vn" alt="Đối tác vận chuyển Giaohangnhanh của ShopCanTho.Vn" src="/images/giaohangnhanh.png" width="150px">
378                     </div>
379                 </div>
380   </footer>
381
382   <!-- Control Sidebar -->
383   
384   <!-- /.control-sidebar -->
385   <!-- Add the sidebar
's background. This div must be placed
386        immediately after the control sidebar -->
387   <div
class="control-sidebar-bg"></div>
388
389 </div>
390 <!-- ./wrapper -->
391
392
393 <!-- page script -->
394
395 <script src=
"plugins/jQuery/jquery-2.2.3.min.js"></script>
396 <!-- Bootstrap
3.3.6 -->
397 <script src=
"bootstrap/js/bootstrap.min.js"></script>
398 <!-- Select2 -->
399 <script src=
"plugins/select2/select2.full.min.js"></script>
400 <!-- InputMask -->
401 <script src=
"plugins/input-mask/jquery.inputmask.js"></script>
402 <script src=
"plugins/input-mask/jquery.inputmask.date.extensions.js"></script>
403 <script src=
"plugins/input-mask/jquery.inputmask.extensions.js"></script>
404 <!-- date-range-picker -->
405 <script src=
"JS/moment.min.js"></script>
406 <script src=
"plugins/daterangepicker/daterangepicker.js"></script>
407 <!-- bootstrap datepicker -->
408 <script src=
"plugins/datepicker/bootstrap-datepicker.js"></script>
409 <!-- bootstrap color picker -->
410 <script src=
"plugins/colorpicker/bootstrap-colorpicker.min.js"></script>
411 <!-- bootstrap time picker -->
412 <script src=
"plugins/timepicker/bootstrap-timepicker.min.js"></script>
413 <!-- SlimScroll
1.3.0 -->
414 <script src=
"plugins/slimScroll/jquery.slimscroll.min.js"></script>
415 <!-- iCheck
1.0.1 -->
416 <script src=
"plugins/iCheck/icheck.min.js"></script>
417 <!-- FastClick -->
418 <script src=
"plugins/fastclick/fastclick.js"></script>
419 <!-- AdminLTE App -->
420 <script src=
"dist/js/app.min.js"></script>
421 <!-- AdminLTE
for demo purposes -->
422 <script src=
"dist/js/demo.js"></script>
423 <!-- Page script -->
424 <!-- PACE -->
425 <script src=
"plugins/pace/pace.min.js"></script>
426 <script>
427 <script type=
"text/javascript">
428     
// To make Pace works on Ajax calls
429     $(document).ajaxStart(function() { Pace.restart(); });
430     $(
'.ajax').click(function(){
431         $.ajax({url:
'#', success: function(result){
432             $(
'.ajax-content').html('<hr>Ajax Request Completed !');
433         }});
434     });
435 </script>
436 <script>
437   $(function () {
438     
//Initialize Select2 Elements
439     $(
".select2").select2();
440
441     
//Datemask dd/mm/yyyy
442     $(
"#datemask").inputmask("dd/mm/yyyy", {"placeholder": "dd/mm/yyyy"});
443     
//Datemask2 mm/dd/yyyy
444     $(
"#datemask2").inputmask("mm/dd/yyyy", {"placeholder": "mm/dd/yyyy"});
445     
//Money Euro
446     $(
"[data-mask]").inputmask();
447
448     
//Date range picker
449     $(
'#reservation').daterangepicker();
450     
//Date range picker with time picker
451     $(
'#reservationtime').daterangepicker({timePicker: true, timePickerIncrement: 30, format: 'MM/DD/YYYY h:mm A'});
452     
//Date range as a button
453     $(
'#daterange-btn').daterangepicker(
454         {
455           ranges: {
456             
'Today': [moment(), moment()],
457             
'Yesterday': [moment().subtract(1, 'days'), moment().subtract(1, 'days')],
458             
'Last 7 Days': [moment().subtract(6, 'days'), moment()],
459             
'Last 30 Days': [moment().subtract(29, 'days'), moment()],
460             
'This Month': [moment().startOf('month'), moment().endOf('month')],
461             
'Last Month': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').endOf('month')]
462           },
463           startDate: moment().subtract(
29, 'days'),
464           endDate: moment()
465         },
466         function (start, end) {
467           $(
'#daterange-btn span').html(start.format('MMMM D, YYYY') + ' - ' + end.format('MMMM D, YYYY'));
468         }
469     );
470
471     
//Date picker
472     $(
'#datepicker').datepicker({
473       autoclose:
true
474     });
475
476     
//iCheck for checkbox and radio inputs
477     $(
'input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({
478       checkboxClass:
'icheckbox_minimal-blue',
479       radioClass:
'iradio_minimal-blue'
480     });
481     
//Red color scheme for iCheck
482     $(
'input[type="checkbox"].minimal-red, input[type="radio"].minimal-red').iCheck({
483       checkboxClass:
'icheckbox_minimal-red',
484       radioClass:
'iradio_minimal-red'
485     });
486     
//Flat red color scheme for iCheck
487     $(
'input[type="checkbox"].flat-red, input[type="radio"].flat-red').iCheck({
488       checkboxClass:
'icheckbox_flat-green',
489       radioClass:
'iradio_flat-green'
490     });
491
492     
//Colorpicker
493     $(
".my-colorpicker1").colorpicker();
494     
//color picker with addon
495     $(
".my-colorpicker2").colorpicker();
496
497     
//Timepicker
498     $(
".timepicker").timepicker({
499       showInputs:
false
500     });
501   });
502 </script>
503 <!-- Add jQuery library -->
504
505     <!-- Add fancyBox main JS and CSS files -->
506     <script type=
"text/javascript" src="source/jquery.fancybox.js?v=2.1.5"></script>
507     <link rel=
"stylesheet" type="text/css" href="source/jquery.fancybox.css?v=2.1.5" media="screen" />
508
509     
510
511
512 </body>
513 </html>
514 <?}
else{?>
515
516  
517
518 <?}?>
519 <? require(
"../system/model/common_end.php") ?>



Full source code website bán hàng thương mại điện tử gần giống shopee 467.518 lượt xem

Gõ tìm kiếm nhanh...